Automated Theorem Proving in a Simple Meta-Logic for LF
نویسندگان
چکیده
Higher-order representation techniques allow elegant encodings of logics and programming languages in the logical framework LF, but unfortunately they are fundamentally incompatible with induction principles needed to reason about them. In this paper we develop a meta-logic M2 which allows inductive reasoning over such LF encodings, and describe its implementation in Twelf, a special-purpose automated theorem prover for properties of logics and programming languages. We have used Twelf to automatically prove a number of non-trivial theorems, including type preservation for Mini-ML and the deduction theorem for intuitionistic propositional logic.
منابع مشابه
Automated Theorem Proving in aSimple
Higher-order representation techniques allow elegant encod-ings of logics and programming languages in the logical framework LF, but unfortunately they are fundamentally incompatible with induction principles needed to reason about them. In this paper we develop a meta-logic M2 which allows inductive reasoning over LF encodings, and describe its implementation in Twelf, a special-purpose automa...
متن کاملA Temporal-Logic Approach to Functional Calculi for Dependent Types and Higher-Order Encodings
Dependent-types and higher-order encodings lead to concise and elegant representations of complex data structures as evidenced by the success of the logical framework LF [HHP93]. In this work we first design a functional calculus utilizing LF to represent its data objects. To avoid problems commonly associated with using the same function space for both representation (LF objects) and computati...
متن کاملEncoding Dependent Types in an Intuitionistic Logic
Various languages have been proposed as speciication languages for representing a wide variety of logics. The development of typed-calculi has been one approach toward this goal. The logical framework (LF), a-calculus with dependent types is one example of such a language. A small subset of intuitionistic logic with quantiication over the simply typed-calculus has also been proposed as a framew...
متن کاملA Practical Logic Framework for Verifying Safety Properties of Executables
We present a novel program logic, Lf , which is designed on top of a Hoare logic, but is simpler, more flexible and more scalable. Based on Lf , we develop a framework for automatically verifying safety properties of executables. It utilizes a whole-program interprocedural abstract interpretation to automatically discover the specifications needed by Lf to prove a program judgment. We implement...
متن کاملHow to Believe a Twelf Proof
Logical systems are represented in LF by giving a full and faithful (adequate) embedding of the deductive apparatus of the logic as canonical forms of certain types and kinds in LF in specified contexts. The collection of contexts over which the representation is adequate is called a world, because it provides generators for the canonical forms in question. Transferring adequacy from one world ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998